Version

DropDownListBox Constructor(Object[],Object,Boolean)

Constructor, initializes a new instance of DropDownListBox class.
Syntax
'Declaration
 
Public Function New( _
   ByVal items() As Object, _
   ByVal defaultItem As Object, _
   ByVal sorted As Boolean _
)
public DropDownListBox( 
   object[] items,
   object defaultItem,
   bool sorted
)

Parameters

items
Array of items used to populate the listbox.
defaultItem
Item to select by default.
sorted
True if the items should be sorted by default
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also